<section id="content" class="cols-a a">
				<nav id="breadcrumbs">
					<ol>
						<li><a href="../Pages/display">Trang Chủ</a></li>
						<li><a href="../Subjects/listSubject" >Chương Trình Đào Tạo</a></li>
						<li><?php echo $subject[0]['Subject']['sub_name'];?></li>
					</ol>
				</nav>
				<section class="news-a">
				<header>
					<h2><?php echo $subject[0]['Subject']['sub_name'];?></h2>
				</header>
				
				<article>
					<p><center><iframe src="http://www.youtube.com/embed/<?php echo $video[0]['Video']['m_youtube_id'];?>" width="100%" height="400"></iframe></center></p>
					
					
					<p>
						<?php echo $subject[0]['Subject']['sub_descript'];?>
					</p>
					
					<ul class="mb-b">
						<li>Thời lượng: <?php echo $subject[0]['Subject']['sub_period_num']?> Tiết</li>
						<li>Lịch học:
							<ul>
								<?php foreach ($schedules as $schedule):?>
								<li><?php echo $schedule['Schedule']['m_sdl_week_day']?>: <?php echo $schedule['Schedule']['m_sdl_start_hour']?> - <?php echo $schedule['Schedule']['m_sdl_end_hour'];?></li>
								<?php endforeach;?>
							</ul>
						</li>
						
					</ul>
				</article>
				</section>
				<aside>
					<h3>Danh Sách Môn Học</h3>
					<nav>
						<ul>
							<?php foreach ($subjects as $subject):?>						
							<li <?php if ($subject['Subject']['sub_id'] == $selectedId){echo 'class="active"';}?>><a href="../Subjects/detailSubject?sub_id=<?php echo $subject['Subject']['sub_id'];?>"><?php echo $subject['Subject']['sub_name'];?></a></li>
							<?php endforeach;?>
						</ul>
					</nav>
				</aside>
			</section>